Challenge 18 Easy, written with tests