added networkx and matplotlib to requirements.txt file.