Serial implementation Cuthill McKee Ordering