Group theory and its applications to physical problems