This is the solution of coding challenge for the idea prototype recursive transfer implementation