There are probably hundreds of puzzle pattern generators online, search is your friend. Here’s one: Jigsaw puzzle generator