[originally from svn r9682]
implementation of a puzzle usually called 'Tohu wa Vohu'. [originally from svn r9680]