Add def to handle >= 5
Refactor convert using list, tuple, and pattern matching
Add add ten and nine cases
Make functions private
Refactor converts to one-liner