Preheat oven to 375 degrees. Grease a small cookie sheet (approx. 9-1/2 inches by 13-inches). Cream the butter, white sugar, brown sugar, vanilla, and eggs. Add the dry ingredients, the vanilla instant pudding, and the flour. Mix thoroughly. Fold in the M & M's. Spread the dough evenly onto the greased cookie sheet. Bake at 375 degrees for 20-25 minutes or until lightly browned. Let cool and cut into 2-inch squares.