added padding option to horizontal-linked-list