update doc and solveMaze