Translate to matlab

Translation of the Python lessons to Matlab. 
Please remove the `out` class here. We only use it for the output of some command.