a simple calculator for complex numbers