Fixed a bug where strings are not allocated memory when
being pushed onto the stack.
Use strdup in push