Added comments and updated README.md