Au gratin potatoes with ham