Update and rename Program2.java to AnalyzeNetwork.java