getc read a charater