solved-decrypting binary code problem from TopCoder