All algorithms implemented in python with minimal code.