corrected a spelling mistake of a variable

corrected a spelling mistake of a variable (it was spelled block instead of Block).