Updated driver, scanner, and word files

Includes small code updates and file documentation
Added analysis.py

This "analysis.py" module contains the methods necessary to analyzing
the parsed data sets. This update contains the 'environment' function,
which returns the environment of a phoneme