Create RightmostChar.java