Refactoring of smb into multiple functions

Created smbresult and smbresult list, structs to contain our results and
a linked list of structs.  Also created functions to pop, push, destroy,
and length the list in smbresult.c/h.