Removed an unneeded iterator.
Added license info to the package files.