Added values to common dir and cosmetic changes in shortest_path