I liked this coding challenge, so have gone back and played with it over time