Few bugs fixed in corememorysystem.java
Few bugs fixed in corememorysystem.java

abhishek4747/Tejas-git,abhishek4747/Tejas-git,abhishek4747/Tejas-git,abhishek4747/Tejas-git,abhishek4747/Tejas-git,abhishek4747/Tejas-git