Added random polygon generation