programming in C on contiki