pub fn paley_graph(q: usize) -> Result<Graph, String>
Return the Paley graph of order q (q must be a prime power ≡ 1 mod 4). For simplicity, this only supports prime q.