Coursera - Crypthography 1 class homework solutions