Before submitting, put your name and PID here.
Also, please describe your solution here - describe at a high level how your code works and what each major function does.
IMPORTANT: All input.* and communicate.* files will be overwritten when we grade PA1. Please refer the PA1 Specification Document to get the required instructions for PA1.