Added MinMax python class and tests