USACO 2.1: The Castle (flood fill)