Switch to pure C for now

Realized I wasn't using any features of C++ except for iostream, and I
still have a lot of C to learn, so let's stick to that.