wrote list_add function... have segfault problem with csize