Refactor: use map method for iteration instead of for loop structure.
Add block example code
Add testfile.txt used by block_example.rb
Add notes of blocks