fibonacci code was bugging me so I implemented something more efficient