Cleanup

Moved some functions around so that they are ordered correctly.
Allowed it to have both scripts running at once by moving buttons for
Prim to the right side of the screen.
Added delete functions for both algorithms to cleanup the generation
area.