added sub method

I have added a subtraction method name sub