Added OnClick Method and completed the calculator