added linked list methods
reverse as a function not a method
finished queue