Code for the simple assembly line balancing problem