added pexpect requirement
added test for q in 'basics' and runtests.py to run the tests
gitignore: .idea and *.*~