Added solution code for RockPaperScissors.java