add Line class
add intersection func