Removed extra copy of thinning.java.
Formatted the thinning code from Mahesh.