removing pep8 violations from the code and worked on the feature request on #32 on chdir / cd method.

as stated in the comments, commit includes the following:

1. cleaned up the code with pep8 violations
1. changes for request #32, adding a chdir / cd method