How to construct curves over finite fields with many points