Made search work

1. Modified processSearch method in Interpreter
2. Modified executeSearch method in Logic
3. Modified execute method in Logic