actors to adjacency list script finished and working correctly