COP3503 C++ Maze Solver using Recursion