Simple exercises to practice refactoring.