Horizontal And Vertical Lines Calculator