Added the 3-clause BSD license to the end of each file.