Java #5: Use for-each loop in lcmMultiple