My challenge

That's my simple approach to your coding challenge, take a look. Thanks