added ex1, ex2, ex3

solutions of homework1 machine learning class