graphics and movement finished. now we can implement the ai