Comments added

- Added comments.
- Improved ch == ';' logic.