exercise 5.12 fibsViaUnfold implemented