Define ulamSpiral() in spirals.js.

visualizations/prime_spirals/spirals.js
	-Define a completed and functional `ulamSpiral()`.
	-Add documentation comment.