created basic method and tests for computerai class