Python Program With Added Features with a GUI using matlib