fixed a number of bugs
Merge branch 'master' of github.com:RAttab/battlecode-2013