Partitioning a list to 2 sublists

It is a script that illustrates how to to perform the minimal possible weight difference between sublists. Although it is a brute force method, it is a good way to examine the usage of itertools module.