update version
add allow charater method

add allowCharacter define Class
add allow characters distinct method
add some test