Added license headers to .py files