end implementation of rock paper scissors