function y = Fibonacci(n)
% This function aims to give the nth element of the Fibonacci sequence.
x = zeros(1,n);
x(1,1) = 0;
x(1,2) = 1;
for i = 3:n
    x(1,i) = x(1,i-2) + x(1,i-1);
end
y = x(1,n);
end

