I have an existing Dijkstra algorithm that takes only a specific input. However, I need it to work with multiple inputs from the user. The inputs need to be look like "