clean code
Merge pull request #5 from SameerSarkar/master

clean code that generates output