Completed the calculator. Takes care of decimal places