Remove "get_pointer_to_nth_item"

Removed the "get_pointer_to_nth_item" function.