finish code for simple example of Java RMI program

finish code for simple example of Java RMI program