Create rotatestring.java