day 3

some recursive problem