Added a linear search implementation.