Code for Assignment 5: More Trees and Bin Packing Problem