Created ChecklistItem class and initializer method in view controller
Created items array and refactored functions to remove repetition
Refacted view controller and created toggleChecked() function