added few lines to addNewWorkFile() function in Dwriter

Since this first version only have one tab, the arrayList  of workFiles
will have only one element.
Added the functionality to NewAction class

Now the application can create a new file