Added Java implementation of the "Sum of Digits" problem