refactored addLevel function to use switch
Improved level difficulty progression