Pattern DoubleSidedArrow


here is the link to my code, the issue is occurring with the spaces at the beginning of each row, but i don’t know, why.

Please help me out.