Limit movement to adjacent tiles

Only clicks on tiles immediately left, right, up, or down from the player will
register as moves. Added a couple helper functions to tile and grid.
Merge branch 'master' of https://github.com/Maplenormandy/plunderwinds