Add code for printing horizontal edges
Add code for printing vertical edges