fixed __main__ in calculator example
new version