Python port of Daniel Shiffman's "Nature of Code" book's examples and excercises