Used functions min() max() in high low game