BROKEN CODE. Adds progress on the neighbor tile calculations.