Simplified the list testing.
Added a copyright notice to the files.