fixed player turns in firebase; works as long as playerNum starts at zero