Educational implementation of some Machine Learning Algorithms