adding singly linked and fixed rubocop stuffs
Merge pull request #6 from jereln/singly-linked

adding singly linked and fixed rubocop stuffs