Fast parallel algorithms for graph matching problems