N queens problem solution in Ruby. Depth first search and genetic algorithms.