A solver written in Haskell for the Bedlam cube: http://en.wikipedia.org/wiki/Bedlam_cube Outputs SVG describing the steps to construct the cube as shown below: