Au gratin potatoes with ham and cheese