Added parameters for number of characters

() -> default
(x) -> exact length
(x,y) -> min and max length