- mazeMonteCarlo: An algorithm to solve a maze using random moves. This algorithm minimizes an energy function to reach the destination. To avoid getting trapped in local minima of the energy function, moves are made at random and a move is accepted with a certain probability. The Turtle library is used for visualization.