For part 1: adding the listlength (iterative) and listlengthr (recursive) programs

Both programs copied from the discussion board as given by Lingchuan
Meng (one of the TA's)