assignment 2part2 cky completed.