Changed grid initialization to empty list.