A solution to the Box Stack problem. Please DO NOT copy them for code challenges of company interviews.