Update Problem17.java

Count all the letters needed to write out the numbers from 1 to 1000.