a scientific calculator for GrapeCity's coding contest