Given an array of strings, create a tree map whose keys are the string lengths and whose values are the sets of strings with the length given by the key. For example, given the array [I, like, Java], produce a map that maps 1 to the set containing "I" and 4 to the set containing "like" and "Java".