4 Working

1, 2, 3, 4, 6 working
May want to change 4 to not print NIL when no match is found