realtime interactive a star implementation