Finished genChildren and worked on minimax algo