fix in clean() function
fixed java files compilation
refactoring
fix in check_all_solutions() function
added support for doall.sh and wipe.sh scripts