Added Licence and solved issue #8