Cosmology in symmetric teleparallel gravity and its dynamical system