Fixed areaOfTriangle bug

areaOfTriangle now works correctly
Changed word repetition allowance system

In condition 2, the participant is now free to repeat the same word as
many times as they want in the stable set. In the dynamic set, there is
a limit to the number of times a word can be reused, which is now a
global parameter, $permitted_word_repetitions.