better maze solver