My first python code, which calculates the response time of detecting a channel lock.
Find Max/Min