Added two new attributes to XiFile.

- myfile.words returns an iterator of the file's words.
- myfile.chars returns an iterator of the file's chars.