Some amount of work. However recognition doesn't work as I would want

- Added linear least squares method (line.hpp, line2.hpp)
- paint_with_hint2.cpp tries to use it, but results are worse than I
  expected