Big AI update. Wrote player AI, restructured code aroudn common AI class. Wrote test cases for player AI