revised leetcode_Scramble_String.java