I need to cut rectangular pieces of various sizes from a large board. could someone help me with the code to randomize until i get the best fit and the most use from the large board as possible.

Board size = 1830mm x 2750mm
pieces that need to be cut is:-
884x884
884x884
770x570
1318x570
1318x570
100x900
100x884
100x516
200x2650
Thanks for you assistance
Brian