Salesforce interview question

Write a function to create the Fibonacci sequence