adding ch2 the calculator program