Update GreedyVertex.java