Takes image of maze, then downsamples and solves it