added custom implementation of 'erlang:tuple_to_list' function