Man accused of stabbing 3 people