Initial implementation of difficulty curve

Done?