added read/print stmt. removed strcpy and strcmp