A star path planning algorithm