image.whiteToLineScan implemented

Function takes in a binary image and returns all the point as a LineScan.