Add recursive solution to lis