some changes.
Merge branch 'master' of github.com:qatfodoo/stat221pset3
Fixed some bugs.