Separate solutions from problems so that multiple solutions can be kept