Function for creating particles object/Draw everything on canvas