Added search function in Q4.rb