my implementation of various machine learning algorithms