Code written for my CIS 572 Machine Learning course