Updated parseParams to match ending ')' and renamed parseVariableDeclaration() to parseVarDec() within parseDeclaration for consistency.