stock_max.py v1.1 passed HackerRank tests. Had to create new O(N) algorithm, changing from O(N^2)