In a double boiler, melt chocolate, remove from heat & add margarine. Stir until combined & slightly cool; add beaten egg & sugar. In a small bowl, combine flour, baking powder & salt. Add to chocolate mixture alternately with combined milk & vanilla. Fold in walnuts. Carefully spread batter over baked bottom layer. Bake for 20- 25 minutes; cool & slice into 16 squares.