Word search works, not storing into array properly.