Maze generator with built in genetic algorithm to optimize maze difficulty