added test for subtraction
added subtract function