raw diamondSquare alg implemented