added maze solver