update for search function
Merge pull request #67 from cs2103aug2014-t10-4j/logic

update for search function