refactoring and progress on step 4
Merge branch 'master' of github.com:jming/cs279