Refactored handle packet into a bunch of smaller functions
Merge branch 'master' of github.com:Nevinli158/118P2