Update calculator.php

calculator. Passing variables and calculating them via form, 
and printing returned values on the screen.