int __stdcall getNbrY( int x, // x-coordinate of agent int y, // y-coordinate of agent int nbrIndex // index of neighbour to get coordinates of );