https://numbas.mathcentre.ac.uk/question/102503/musa-s-copy-sit316-week-7-branch-and-bound-for-int/embed/