Updated fibonacci code