Create Rock.java

Initial commit