added longest palingrom
rewrote longestPalindrom
added most frequent word
added bfs and dfs