What kept the Greek system of government from being a total democracy?