removed superfluous methods
working DPA algorithm

used the code provided by the instructors
erdos-renyi algorithm