refactorU infinite-agenda exercise