my_stack v0.3

changed malloc to realloc,
changed stack_element_type to struct,
tested on bi