correct the rock-paper-scissors.cpp