program uses A star