Adds the TurnStack class.