Cython implementation of the spatial prisoners' dilemma played on Watts-Strogatz type small-world networks