added a ruby linear search along with test

added a ruby linear search along with test