index file created; logic for opening file and accepting words;