An elastohydrodynamical simulation study of filament and spermatozoan swimming driven by internal couples