loop-based implementation of fibonacci
on the way to lesson 33