added class printAddress.java