Pyhon implementation of various popular numeric algorithms