The for loop is skipping the number that is behind it and not adding it. example 2+2+4+2 it would skip 4.
for(int i = 0; i < parts.length; i++) { int a