Added an example directory and modified nexpect.py to v1.0.4