implement Deque interface
Reading commands from file and executing, writing results into another file. Add JavaDoc.