My implementation of the ruby-warrior game