Working on Project Euler for fun and learning Ruby