I am learning JavaScript and decided to work on a FloodFIll Project, specifically mimicking the bucket fill tool like in Microsoft Word. I first tried using recursion, but i