public String getSubstrings()
    {
        //TODO complete the stub to return null
        int len = wordy.length();
        String substrings = "";
        for (int i = 0; i < len; i++)
        {
            String piece = "";
            String lastLet = "";
            if (i+1 < len)
            {
                piece += wordy.substring(i, i+1);
                substrings += piece + "\n";
            }
            else
            {
                lastLet += wordy.substring(i, i+1);
                substrings += lastLet + "\n";
            }
        }
        for (int i = 2; i < len; i++)
        {
        	String piece = "";
        	piece += wordy.substring(0, i);
        	substrings += piece + "\n";
        }
        for (int i = 1; i < len-1; i++)
        {
        	String piece = "";
        	piece += wordy.substring(i, len);
        	substrings += piece + "\n";
        }
        return substrings + wordy;
    }