Add license headers to py files

License headers that were before missed from python files now added.