Update to enable it to take a color mapping
Corrected copy paste naming error
Update to boundaries
Update to correctl color non-edge touching regions and regions that start and end on the same edge