FIrst attempt at ruby warrior