A star search implemented.