Creating EulerProblem interface

Going to refactor the problem logic so it's easier to read.