Finding shortest path between given nodes with respect to their properties by using Breadth First Search algorithm.