Project done at University of California, Santa Barbara for the network class