A Ruby solver for the eight queens puzzle