R-code, LP Algorithm for Dependence Learning