Add isOkayBlock and block extraction - solving the D part of Lab 3A;