updating code examples to avoid Leanpub introducing line breaks and messing the line number references up