Updated longestline.c to include ex 2-2