Working version of the Hough transform. Currently just calculating intersection between lines, no stuff with polar coordinates