Ruby solutions to Project Euler problems