[coding theory] homework week 4