some HQC homeworks