Added log4j,properties.
compile.sh modified.
Some cosmetic changes in .gitignore and ThreadPool.java