Machine Learning algorithms in Python and C written from scratch using the respective standard libraries