Java code 4.1 improved - fixed little bug

You should add 4 to the tree not -1. If added -1, you can't have the expected results.