Extracted block algorithm to separate method
Merge pull request #7 from walsh06/blockMethod

Extracted block algorithm to separate method