added dla_line, fixed is_near() to consider diagonals