Find all irreducible polynomials
Question - The best approach for doing this is to consider all polynomials of lower degree and check whether they are factors. Please note that we only consider monic irreducible polynomials, i.e., polynomials with the highest coefficient equal to one.
Part 1.of degree 3 over GF(2)
Part 2.of degree 4 over GF(2)
Please do proper documentation of code - It must compile with no errors and follow the directions.