tweaking of stacks library stuff
imported queues library from nausicaa
fixes for docs of queues and stacks