Code formatted by eclipse, dice functionality fully added.

Dice re-roll until a winner is found, basic protocol for messaging added for future socket use.