Fix bug in Monster::canWalkTo

Fixed a bug in Monster::canWalkTo where it wasn't working properly with
diagonal directions
Code cleanup
Fix typo
Fix build errors
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'origin/master'
removed printIp to use bit lib instead