Added backspace and delete functionality
- Can now use backspace and delete keys to modify document.
- Really need to refactor.