Bogosort in CPP