Create Tools.java

Copied Tools from Tutorial1.