set initial value of difficulty if the key doesnt exist.