# The format for these mobiles is as follows: # [left_branch, right_branch] # where a branch is represented as # [rod_length, sub_mobile or leaf weight]. good_1 = [[1, [[1,2], [2,1]]], [3,1]] good_2 = [[4, [[2, [[1,2], [1,2]]], [2, [[9,1], [3, [[5,2], [10,1]]]]]]], [8, [[1, [[1,2], [2,1]]], [3,1]]] ] bad_1 = [[5,3], [4,2]] bad_2 = [[6, [[2,3], [4,2]]], [7, [[5,4], [7,5]]]]