Attempting to build a small compiler in C