Fixed bugs in algorithm + random position generation