This task should to calculate path and respone to the qustions with algoritm that calculat the shortest path