Solver of the Android Szokereso app in java