counterclockwiseneighbor implemented