Moved GetAdjacentTiles up to where public functions are declared.