integer partition algorithm added