Octave solutions
Merge pull request #8 from SamLau95/master

Octave solutions