Add the require statement for sys.

Just thought I'd 'fix' the example seeing I found it was broken.