Address reviewer comments

Add newline at EOF of selem.py
Add "optional" to grey.py and binary.py