Delete Ticket Function

Have implemented delete ticket function, still testing. New functions:
find_prev_stock_node()
find_next_stock_node()