"return open" was in the middle of the code, I moved it to the end of it. Methods onEntry, onExit are still unfinished.
After implementing the Measurable interface, the constant weight of Boxes in the int weight method is 5. Attribute int weight, methods set- and getWeight were removed.
Base files for the project were added. Update ONeill.java Update Box.java fixed everything, code now compiles correctly