implemented a calculator with gui using QT4 and python