Got the Tab to work at the end of the text

Still working on making it work where the cursor is