Fixed errors in Search and Sort

changed seach function in textbuddy so that it can show the lines
contain the word to search. Remaining parts that can be changed:
1. we need to read file if file exsits otherwise create.