Grease and line a 23-cm round cake tin. Cream butter and sugar, then beat in egg yolks. Add grated chocolate and ground nuts and beat well to mix. Whisk egg whites in a separate bowl until stiff, then whisk in sugar. Fold into chocolate mixture. Pour into tin