Update InheritApp.java

Add Animal class' do initial refactoring