Fixed minor pep 8 issues, and one assignment issue.