Basics on J-holomorphic curves and the virtual fundamental cycle construction by Kuranishi structures