Build from scratch KNN Image Classifier, linear regression, SVM Image Classifier and two-layer neural network