Assignment 2 on tableView and alert view