The Japanese wrote their characters using a type of writing called