@kevipe7012 : You need to describe your problem clearly. It seems you are writing some software to copy the behavior of the generator onm the website you linked. Since we cannot see what you have done / are doing, we can only wildly guess what's going on.
To get serious help, please:
Describe the problem in detail, possibly show the code where it fails (use the "more options" button in the menu bar, then select "code" to insert code in a well readable format).
Show us the input data
Show us the expected output data and the real output data, point out where the problem is