A simple Ruby script for generating and solving mazes