Euler's 15: groovy: initial classes and some test cases(with some over-engineering)