implemented stack and and set/print int

tested using dummy allocator functions, will test for real later, so far
everything seems to work correctly