Solving Graph Problems Using Gaussian Boson Sampling