first attempt at a function that calculates the neighbour indexes of a tile, to be able to fast look them up and add them to the neighbour array of the tile, not working property yet