Redoing CPSC 486 Assign 1 using YouTube tutorial by initWithData