Applied GNU General Public License version 3 to code.
Adding license file.