Generate random boards and save them to a file