A first try at making simple AI on a grid