Tested with larger maze (25x25)

Still works ;)