Added substract() method to Test1.java