Mine is much simpler (using the Diamond-square algorithm https://en.wikipedia.org/wiki/Diamond-square_algorithm)