Created topology generation script

created a script to allow the user to generate a topology file without having to do it by hand.