ed.py: add class Buffer, function B to load file
ed.md: tweaks