Could you give us some idea of the spec of the machine the script will be running on? I have a feeling the Rubik's Cube puzzle is going to need considerable amounts of memory ...
I will test it on a windows system / PII 400 / 128 RAM
hope this helps
Stuart
Must read Review for Serious PHP Developers
NuSphere PhpED 5.5
: The Staff of php-editors.com recently spent a few days working with NuSphere
PhpED 5.5
(a popular PHP IDE) and
NuCoder 2.0
(a PHP Encoding Utility), read up on all the details.