Added write method to scanner to allow the checks later
Added a simple verification for the whole blocks
Removed TestingPattern class
Handled IOException during the file closing operation
Added multiple steps write and verification allowing different file and block sizes