Added code to support expansion of game to up to 1000 levels