folder and error handling

add src and header folder, add error handling in linkedlist and dataCon