Added a difficulty heuristic,

Also returned the levelup mechanics as it was before.