Stack-based Floodfill is Implemented

It has also fixed the issues that have been previously popping up in
the recursion-based flood fill.
Merge branch 'working-on-solver-stack-based' into working-on-solver