Added comments and updated README.