BranchAndBoundAlghoritm sceleton