Flood fill algorithm in C# using Unity - http://en.wikipedia.org/wiki/Flood_fill