fixed two minor grammar errors and a python typo