Sum of Integer problem solved