Add a linear search function.

Fixes #31.
Doco style.
Merge pull request #32 from robrix/linear-search

Linear search