Implementation of Perlin noise for creating a height map