Count Enclosed Land Regions - Coding problem | OneNoughtOne