-- BUG FIXED :  able to retrieve the direction to the nearest tile.