min path through triangle