A basic command parser written in C