Update MaxWeightSeq.py