started data structures writen in c