Added ThirdClass.java
Updated code in Second.java