\documentclass{standalone}
\usepackage[paperwidth=\maxdimen,paperheight=\maxdimen]{geometry}
\usepackage{pgf,tikz}
\begin{document}

\begin{tikzpicture}[x=24pt, y=24pt, draw=white, double=black, line width=2.1pt]
	\node (1) at (0, 0) {$1$};
	\node (3) at (17, 0) {$3$};
	\node (2) at (49, 0) {$2$};
	\node (4) at (66, 0) {$4$};

	\draw[double=white,draw=blue] (4) -- (66, -9) -- (48, -9) -- (48, 9) -- (0, 9) -- (1);
	\draw[double=white,draw=red] (2) -- (49, 9) -- (67, 9) -- (67, -25) -- (17, -25) -- (3);
	\draw[double=blue] (3) -- (17, 32) -- (81, 32) -- (81, -15) -- (52, -15) -- (52, 3) -- (45, 3) -- (45, -21) -- (87, -21) -- (87, 38) -- (11, 38) -- (11, -6) -- (23, -6) -- (23, 26) -- (75, 26) -- (75, -8) -- (58, -8) -- (58, 10) -- (39, 10) -- (39, -28) -- (93, -28) -- (93, 44) -- (5, 44) -- (5, -12) -- (29, -12) -- (29, 20) -- (69, 20) -- (69, -2) -- (64, -2) -- (64, 16) -- (33, 16) -- (33, -16) -- (1, -16) -- (1, 48) -- (97, 48) -- (97, -32) -- (35, -32) -- (35, 14) -- (62, 14) -- (62, -4) -- (71, -4) -- (71, 22) -- (27, 22) -- (27, -10) -- (7, -10) -- (7, 42) -- (91, 42) -- (91, -26) -- (41, -26) -- (41, 7) -- (56, 7) -- (56, -11) -- (77, -11) -- (77, 28) -- (21, 28) -- (21, -4) -- (13, -4) -- (13, 36) -- (85, 36) -- (85, -19) -- (47, -19) -- (47, 1) -- (50, 1) -- (50, -17) -- (83, -17) -- (83, 34) -- (15, 34) -- (15, -2) -- (19, -2) -- (19, 30) -- (79, 30) -- (79, -13) -- (54, -13) -- (54, 5) -- (43, 5) -- (43, -23) -- (89, -23) -- (89, 40) -- (9, 40) -- (9, -8) -- (25, -8) -- (25, 24) -- (73, 24) -- (73, -6) -- (60, -6) -- (60, 12) -- (37, 12) -- (37, -30) -- (95, -30) -- (95, 46) -- (3, 46) -- (3, -14) -- (31, -14) -- (31, 18) -- (66, 18) -- (4);
	\draw[double=red] (1) -- (0, -17) -- (34, -17) -- (34, 15) -- (63, 15) -- (63, -3) -- (70, -3) -- (70, 21) -- (28, 21) -- (28, -11) -- (6, -11) -- (6, 43) -- (92, 43) -- (92, -27) -- (40, -27) -- (40, 8) -- (57, 8) -- (57, -10) -- (76, -10) -- (76, 27) -- (22, 27) -- (22, -5) -- (12, -5) -- (12, 37) -- (86, 37) -- (86, -20) -- (46, -20) -- (46, 2) -- (51, 2) -- (51, -16) -- (82, -16) -- (82, 33) -- (16, 33) -- (16, -1) -- (18, -1) -- (18, 31) -- (80, 31) -- (80, -14) -- (53, -14) -- (53, 4) -- (44, 4) -- (44, -22) -- (88, -22) -- (88, 39) -- (10, 39) -- (10, -7) -- (24, -7) -- (24, 25) -- (74, 25) -- (74, -7) -- (59, -7) -- (59, 11) -- (38, 11) -- (38, -29) -- (94, -29) -- (94, 45) -- (4, 45) -- (4, -13) -- (30, -13) -- (30, 19) -- (68, 19) -- (68, -1) -- (65, -1) -- (65, 17) -- (32, 17) -- (32, -15) -- (2, -15) -- (2, 47) -- (96, 47) -- (96, -31) -- (36, -31) -- (36, 13) -- (61, 13) -- (61, -5) -- (72, -5) -- (72, 23) -- (26, 23) -- (26, -9) -- (8, -9) -- (8, 41) -- (90, 41) -- (90, -24) -- (42, -24) -- (42, 6) -- (55, 6) -- (55, -12) -- (78, -12) -- (78, 29) -- (20, 29) -- (20, -3) -- (14, -3) -- (14, 35) -- (84, 35) -- (84, -18) -- (49, -18) -- (2);
\end{tikzpicture}
\end{document}