Solutions to codingame.com puzzles in the ruby language