MARkov IndExing and Discovery