Added AI class

The AI class almost done, Will update soon with finished full working AI