solved 1e Minimum Skew Problem