Program to find an element using linear search