Learning Ruby via solving problems on Project Euler