Our java code for Network Security assignments