simple constructor for word search