Extending the Frontier of ChatGPT: Code Generation and Debugging