working on reading input for C