Circular Queue in nesC for TinyOS