Implemented Search functionality

Its working fine now