Add new type char and bug fixes

1.fixed a bug in the initializing declare
2.add new type and calculating supports