Make SR Latch example code Pythonic

Add space to single line comments where necessary.
Trim line length to less than 80 characters.
Move multiple statements in single line to individual lines.