HW4_slidingAlongLines