Adding code for Finding Sorted SubSequences OF size 3