first implementation of fibonacci