All subsequences

@srishti200201_c9588863a697e1e7 Actually you have to print all the subsequences in lexicographical order. So just store all the substrings in an arraylist or a data structure and sort it. Then after print it on the console.