Solved exercises from the PE website in Scala