Data extraction finished, need to implement a solving algorithm, first I'll try to resolve by brute-force creating every possible state by the system and so on and choose the one with less movements.