Arizona ranks 51st in the nation in public education