Melt butter and chocolate over low heat. Remove from heat, beat in sugar. Add eggs one at a time beating well after each. Stir in vanilla. Then Stir in the flour. Pour into a 8x8 inch pan that has been greased and floured. Cake at 350 for 20-30 minutes.