Broke the whole damn thing while trying to create a clever regioning system for the astar pathfinding algorithm
Fixed most of the problem, still doesn't count the last row and column
Neighbouring now works properly. No longer is racism done towards the tiles of the last columns and rows. Something is still broken tho :<
The regioning is broken. Or the neighbouring. Gonna check tomorrow. G'night