Code Challenge Answer

I was given a challenge project and decided to keep for future reference
my initial answer.