Finished center.c, still working on regex.c