Added block.cpp (3rd try)