Au gratin potatoes and ham