Assignment 2 - Johnathan Ashley/Andrew Michaud

Another way to do this would have been recursively, returning l.head in the base case (n == 1) and  nthElementInList(n-1, l.tail) in the recursive case.  But it's pretty excessive unless you feel super functional that day. :)