Added Monte Carlo methods

Added Monte Carlo methods for measuring learnability, restructured some
of the code.
Initial version

Initial PHP code for a triangle visualizer. Eventually you will either
load a trianlge set from a data file and colour by unique word. Or you
can enter coordinates to draw whatever triangles you want.
Added translate() function

The translate() function translates triangle B so that its orienting
spot or its centroid aligns with the orienting spot or centroid of
triangle A.