Removes foreach loop in favor of a for loop using vector.size()