Fixed Point Arithmetic Calculator In Python