added parition list and linked list addition function