Homemade scalloped potatoes with ham