Text this: Evaluating the Intelligence of large language models: A comparative study using verbal and visual IQ tests