creating fibonacci function