Move random cube generator to Moves.hs

Add random cube solving to twophase