updated parallel tempering section in knapsack example