Exercises from Think complexity book written by Allen B. Downey