added randomness to the diamond square algorithm