Minimal C code for a command line too that converts into 7segment digit