add java solution for SumOfIntegers