Fix bad greater than less than conditions in code snippets of lab 4
Merging 'master' into 'gh-pages'