My solution to some exercises proposed in Think Complexity by Allen B. Downey