CS2114 Mazesolver assignment