Learn how to implement and use the floodfill algorithm in Python.
There should be no such thing as boring mathematics.