Adding eclipse project containing everything needed to run the code

in eclipse, right click the side bar, choose import --> existing
projects into workspace.
import "CS249_InfoCascade"
run CGC.java
voila :D