Identifying parallel and perpendicular lines