Faster java

Started with changes in reddit comments, improved further, also cleaned up readPlaces().
Was ~1200 ms on my machine, now ~1000.