Replaced the do-while loop with the for loop in the allocateLease4. Also, updated the copyright date.