Modified llist to return ints instead of nodes