inplement print functionality
Merge pull request #295 from vaibhavcisin274/vaibhav

inplement print functionality