implemented 3 functions for timetravel

create_word_t, add_word_dep, add_command_dep