stack retried
added stack like functionality

stack.c and stack.h are replaced with a linked list described in
simplestack.h and simplestack.c, most of the old temporary references
are replaced but they might pop up still here and there.