add free_skiplist(), add -Wall, fix some complier errors

add free_skiplist() in skiplist.c
add -Wall in Makefile
fix complier errors reported by -Wall