How Ancient Egypt Used Math to Predict Natural Cycles