Implementing a few problems from projecteuler.net in scala!