C project to simulate an assembly line with robot