You can use a tile system.
You make a grid on paper, then assign numbers to them like in a game of battleship.
You initialise an array
Dim Grid(xTiles,zTiles)
xTiles being the amount of tiles across, zTiles being the depth of the track.
Then lets say you have some pre-made track parts which to put on each tile, you assign each one to a number, i.e straight road to one, corner right to two.
So in tile 1,1, which is the top left tile, you want to put a piece of straight road. You use Grid(0,0)=1
if you want to put a corner in tile 4,7, you use Grid(3,6)=2 and so on.
Whatever I did I didn't do it!