Chocolate Pie with Apples and Pudding