Added function to select values on a Map, floodfilling from a point