Practicing R syntax by solving Project Euler questions (https://projecteuler.net/problems)