My implementation of some classical algorithms