finish fibonacci function