added two tasks from DSA sample exam