Math Behind Rock Paper Scissors