Algebraic Cryptography course exercises using Magma