Added code to save results to file. Fixed bugs in the main function.
Merge branch 'master' of https://github.com/ameyavilankar/Collaborative-Filtering