Problem 7 made in IDEONE // Needs compatibility with class EULER