Update App.java

Add new method validateAddress()