added gitignore, updated README and main file

added ".gitignore", updated "README.md" with more info, added undo
function to text box of main program