Adding Logic, Connect gui with logic
correct some mistakes, improve calculator