Refactoring. Creating class and interface to solve problem 36.