ECS #351: Integer partition