Text this: Gate construction of block-encoding for Hamiltonians needed for simulating partial differential equations