Amended code to allow for game to work when either player 1 or 2 enters rules