Maximum Number In Array Leetcode Problems Python