Parsing file
Calculating word value
Calculating number of word triangles