Changed test range to 1-1000
Added an n! curve (and limited the y axis accordingly)