Create CalculateHeaderIndex.java