New system can help machines think like humans