https://medium.com/@nkwade/leetcode-11-container-with-most-water-python-programming-solution-18636ec84c83