update char_dev v0.1

modified mem_char, can be read and write.