A survey on applications of black hole algorithm