add code for mlclass-ex3 mlclass-ex4 mlclass-ex5