Doctest enabling

This PR addresses #61 and fixes the failing examples.
Please change to a smaller `large_array` in the example ... it will save a bit of screen space and illustrate the function just as well (maybe even better if the reader bothers to count the row and column where the ones start to be sure she understands the 0-based offset convention).