Made a Ghost program

It tells you the best move!