Implemented exit syscall

(though right now it does not free objects allocated on heap,
because it is impossible with current memory allocator)