Finished make_char_buffer function. Possibly. Maybe. Hopefully.