Implemented state() function for list and listnode
Improved variable state() to store less data