Added MATLAB/Octave script for the final exam