076 optimize
076 Haskell < 1min, should try DP
076 Python: Very quick implementation of Haskell solution + DP