add java/P2.java
package name for compile and run