Doing some Project Euler challenges in Scala to get more familiar with the language before the exam.