Text this: Implementation of the two-dimensional electrostatic particle-in-cell method