[ml] add sample octave functions
[ml] add linear regression exercises
[ml] add logistic regression exercises