Either chop by hand or in a blender or food processor, coarsely chop the garlic, chillies and green beans. Mix in the papaya, and process into small chunks. Mix in the tomato, fish sauce, lime juice and sugar. Process the mixture until soft and slightly chunky. Transfer to a medium bowl. Stir in the peanuts. Cover, and refrigerate until serving.