update hooks to compile on commit
Merge pull request #155 from Cal-CS-61A-Staff/hooks

update hooks to compile on commit