Similar Items: Homeostatic Agent for General Environment