Code-Challenge-1

Challenge 1 from Swift Coding Challenges book by Paul Hudson.