Added inheritance.java question solutions