Added Octave script to do problem 1