Maze solver using techniques of the artifitial inteligence