added to the readme; made  some comments in code