8 puzzle solver written in Ruby