Trying out classification methods on the MNIST handwriting dataset