Solver of the Android Szokereso game in java