added a README + Licence and a small precedence fix