Edited this.nextLayer to properly move to the next layer unless the next layer is the end of the game. We need to make an endgame thingy