public static ArrayList<String> winner(ArrayList<String> playerOne, ArrayList<String> playerTwo) throws NoSuchStrategyError {
		if(verifyPlay(playerOne.get(1)) || verifyPlay(playerTwo.get(1)))
			throw new NoSuchStrategyError("Strategy must be one of R,P,S");
		
		if(playerOne.get(1)==playerTwo.get(1))
			return playerOne;
		
		if (playerOne.get(1)=="S"){
			if (playerTwo.get(1)=="P")
				return playerOne;
			else return playerTwo;
		}
		else if (playerOne.get(1)=="P"){
			if (playerTwo.get(1)=="R")
				return playerOne;
			else return playerTwo;
		}
		else{
			if (playerTwo.get(1)=="S") 
				return playerOne;
			else return playerTwo;			
		}
	}