Transferred across my #defined constants LAND_RADIUS and REGION_RADIUS from master branch
I've reordered the functions so that they are ordered top down, and created function definitions for each function for better style and clarity when they check our tests.