MYGUIDE-235 (creating graph and searching path)