New Euler problem and refactoring

Solved a new Euler problem and started the refactoring for it.
Refactored a previous problem.