Some errors in code rectified
Some errors in code rectified