adding a simple 1D midpoint displacement example in octave