cs2 (basic txt editor) assignment one

update