add stack data structure
add gs_slist_del function
use gs_slist_del function instead of using free inside it