made the function able to be called from another class
Now it calls function rockPaperScisors() form class Rockpaperscisors instead of one long line of code.