a simple one line word processor using double linked list