Fix SR Latch example in README.md

Replaced all instances of set_input()/set_output() with setInput() and
setOutput()
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.
Make SR Latch example in README.md Python3 compatible.
Update SR Latch output in README.md example

Replace False/True with 0/1.
Merge pull request #264 from sahutd/develop

General SR Latch example improvements in README.md