Created the total_price and total_time columns in the edges matrix, which may be unnecessary and could be incorporated directly into the graph creation.