Add new files: ai.c, ai.h, game_modes.c and game_modes.h. Update Makefile.