ed.py: add append a and insert i functions
bring ed.md up-to-date