Add calc program

Implemented advanced error handling logic to prevent user from unhandled exceptions.

TASK ID: 8