worked on lia3-simplified recursion study. Get multigeneration mate function working