uwi's submission of All Substrings | CodeChef