Added test for the function List_removeFirst
Added the function body of List_removeFirst
and factor out the similar code from the previous function.