Hw1 review

I was able to fix your code to work in chrome. See comments for details.