WRITE comments function

MODIFIED er       - write some conficts for checking
MODIFIED main.py  - write comments function