Studying Queue in C