wrote functions for addition, subtraction, multiplication, and division