working on dynamic programming algorithms: implemented assembly line scheduling