Create Editor.py

small 50 line script, Includes:
setting a pin to 'save&close' script
setting a truncate pin
editing line by line
read + write files

does not include:
previous line editing

faults:
the first line is left