Shut the Box Game Written in Ruby