public void generate(String fileName) {
		try{
			BufferedWriter bw = new BufferedWriter(new FileWriter(fileName));
			
			bw.write("<svg  xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">");
			bw.newLine();
			
			// Write the maze
			for(Edge e: svgLines){
				bw.write("<line x1=\"" + e.c1.x*10 + "\" y1=\"" + e.c1.y*10 + "\" x2=\"" + e.c2.x*10 + "\" y2=\"" + e.c2.y*10 + "\" stroke=\"#000000\" stroke-width=\"2\" stroke-linejoin=\"miter\" />");
				bw.newLine();
			}
			
			bw.write("</svg>");
			bw.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}