Moody's interview question

implement a method to output the Fibonacci sequence