Machine Learning Homeworks from Fall 2012. Some machine implementations and an analysis of a subset of MNIST data