Story patterns in Greek tragedy