Solutions to Euler problems using ruby