Attempts to collect all strings from NxM matrix