added requirements for this week's challenge
completed week 2 but without tests and with conditional logic
refactored code to stop using if statements and use exceptions instead