Added variable setup in the init function. Added the function 'cellForRowAtIndexPath'.