Finished warmup1: sumDouble with no conditionals!

No sure about the use of indexOf(). This might use conditionals. Need to
check the Java code.