Added standalone capabilities to A* algorithm

Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>