Update source/session02.rst

Replace print statements with print functions
Replace old repo name in examples
Improve whitespace on some examples with cramped whitespace