Create remvoesubstring.java