Adding recursive solution for 2-2.