A Solution to the Rock, Paper, Scissors Problem (Uses Functions)