Added a nextPlayer variable that tracks what player will move next