slist: added first set of tests and basic functionality

added functionality for initializing a single-linked list,
appending elements, iterating the list and retrieving
values.