Create pinger.java

This is java code for ping program