exercises from Learn Python The Hard Way