Cake with grated apples, cinnamon and walnuts