Path finding with A*