Added the imposeMaxLenght function, updated the readme