added some minimax code.

Minimax is not functional yet, but I know I am close. I am getting confused with exactly what depth is supposed to. Somehow I am not returning the correct action either.