Added debug message in function contains() in Wordpool class.