[HQC] Tasks fom lectures 06 and 07