added tdd exercise change_machine