Layered Cake with Walnuts