Revisions

Removed namespace std
Edited some sections for clarity
More try - catch throughout