Np Complete Problem Algorithm