A few functions made in C/C++ for CS 438 (Communication Networks) Machine Problems (MPs)