uploaded revised lesson 2 code

made some fixes to some of the calculations and added histogram analysis
to understand image stretching. also annotated things. needs a few more
edits to remove comments --