Task 1: Text Editor