Implementations of the diamond square algorithm in python