I have written a function that solves the LASSO problem. The method is called the shooting algorithm and it is an example of coordinate descent.