Image Recognition using Python on MNIST dataset with the help of CNN, Multiclass Logistic Regression and SGD