added a license file and corrected a typo - thanks to @PhillipAnd