fixed padding algorithm
Added linked list implementation
Added tests to linked list