Adjust node cost function (#19)

Tiles are non-square so horizontal movement
has different costs to vertical movement