Implementation of Strassen algorithm