extracting features off the Mnist pictures dataset, training it using deep learning keras and testing