program locations tableview and setup delegate methods