Grid based pathfinding with maze generator | ScratchStats