q2a takes two arguments: the symbolic expression of a quadratic form q and a vector of variable names. q2a returns the matrix A of q. Input:
Output: