Introduction to the Hirota direct method with the trajectory approach to solitons