Implemented rock-paper-scissors with test