Boson Sampling on a Photonic Chip