get node by level, recursive solution