ac is an acceptable variable name
Revising actor from pylint, adding docstrings, fixing formatting issues