A simple lightweight X bar written in C