Introduction to Frobenius algebras and mirror symmetry