Fixed bug in formatResult function
Merge pull request #24 from shivamdixit/master

Fixed bug in formatResult function