Added solution for Applied Crypto Unit 4 challenge