developed originally for a test part of an interview, this version was initially redeveloped in pair programming with Steve and then I completed it on my own.