Project 1 -Adrian Barbu
To draw figure, click to add vertices and drag mouse to add lines.
To use Marill's algorithm press "Marill" when done.
Press "Gibbs" to use the Gibbs sampler.
To erase vertices and edges, press "Delete".
To clear picture press "Clear".
source code