greedybfs
