Added smarter implementation of the fibonacci