Added solution for Applied Crypto Challenge question 5
Cleaned up Applied Crypto Challenge Question 5 solution.