Change blocks() to block_windows() and add docstrings.

Closes #6.