refactored paper rock scissors