Added reverse(node)

Reverses linked list passed into itself as head node.