Added max-product LP relaxation

```REQUIRE(len_array>0, "Length of array (%d) must be greater than 0\n", len_array)```

*Please* make sure that you do this kind of error message in *all* your code from this summer. Really important.