A C++ algorithm to provide automatic solutions for sokoban game