Adding the UICollecitonViewDelegate and flow layout.