Moved unused neighbour search to prototype
Replaced manual appending with yielding
Added Prim2D using randomized prim's algorithm