added updateCumulativeDifficulty() method
renamed CumulativeDifficulty to Difficulty