If you are asking what the last variable represents it is the last IP in the network range.  I could change first and last to firstIP and lastIP to make this clearer I suppose.