Generates midpoints in 2D. Made from me beginning to get into procedural generation