move some functions from test.c
finished function to find path between two positions
add GameState library
add GameDict library
add GameTrack library
finished function to rescue using A star