added a main C file to analogTo7Seg project