Changed BFS Compare operator to use memcmp.