Text this: Analysis of ChatGPT-Generated Codes Across Multiple Programming Languages