Solving problems using functional programming in scala - projecteuler, coursera etc.