Update KnapsackJ.java

Adding instructions on how to change solution types.