remove added
 syswrite changed to puts
Modified for OOPs approach
Modified for oops approach
few changes to oops