refactored the code to be more readable
Merge branch 'master' of github.com:kfreedland/CS169GAP