Implemented function to remove node from list, given only acces to list (last elem cannot be removed)