v0.1 of A* algo