Add singular checking function for double-linked list
Add helper function to cut list at position into two list