creating a window Pyqt