Solution in GNU Octave, probably works in MATLAB too but haven't tested in MATLAB
Moved inside directory named after my user name
Merge pull request #144 from ShaneQful/master

[New Language] Solution in GNU Octave