Update main.py

todo: fix sending snaps; control reply and count friends; save res to file 
at last - optimize