function: get cells in range of hexmap