Messing with lines

writehorizontalline() works,
writeverticalline() doesn't