Update TwoDLongestSequence.java