Update MainClass.java

Added line to AnotherSimpleClass