Use unfoldr
Solved 44, 45