adding the AI algorithims
added code for testing AI algorithims
added code for testing AI algorithims