Can GPT-4 *Actually* Write Code?

I test GPT 4's code-writing capabilities with some actual real world problems.