To create a dungeon, I figured that I would randomly place Rooms, then connect the rooms together with passages.
However, I am having trouble figuring out how to connect the rooms together
I posted some outputs of the generator I got up to this point... I told it to create 64x64 dungeon and mark the traversable paths with 'O'
The dungeon information is stored in a 2D array of 0s and 1s where 1 is the traversable paths and 0 is dead end
Attached File(s)

output1.txt (2.61K)
Number of downloads: 129 
output2.txt (3.01K)
Number of downloads: 100 
output3.txt (2.68K)
Number of downloads: 80