provide build-set func
lecture notes of imp set from ordered list
sol of 2.61