this is my homework for cryptography