Added merge and quick sort methods to sort the word list