fix bug where _place_random() throws IndexError when grid does not have any available cells
print . for empty cell for better readability