methods for neighbors and diagonals

and coordinate conversion from odd q to cube and back