Maze generation and solving algorithms connected to a simple GUI