Space optimization algorithm: Program that solves the smallest square for tetriminos pieces using recursive backtracking.