Now codes are cooler!

I added a randomizer in the sender and fixed a problem in the receiver
that didn't show correctly the code received