Tetris problem implementation Tetris problem implementation for square and rectangle with accurate(exponential time) and approximate(polynomial time) approaches.