Attention! The problem has been re-implemented in function call format. Instead of following the instructions in the problem, your program should include the header file "boxes.h" and support the following interactions:
Your program should call the following functions:
void insert(int p);
Insert a new box at position p with the next availble box number.
void move(int b, int p);
Move box number b to position p
Your program should implement the following functions:
void start(int N);
This function lets you initialize. Within it, you should call insert() N/4 times.
void newBox(int b);
Insert a new box after box b and before the next box on the line. You should call move() here at most 500 times.
A sample grader and program is provided under attachments.