add fibonacci array methods in python