Here we are given some nodes and we try to create a circuit that has minimum total length.