Changed packages for ReversedLinkedList and fixed logic
Merge pull request #4 from szagriichuk/refactoring

Changed packages for ReversedLinkedList and fixed logic