Passing Ruby Warrior Level 4, needs refactoring.
Passing Ruby Warrior Level 4, needs strategy pattern.
Cleared Ruby Warrior Level 4