an exercise in OOP and unit testing with Euler Problems