added more comments

fixed some typos
some pep 8 fixes
added to todo list