Character inputting device