Use multiple threads per block
Remove storage for each block.

Just sum into one counts array globally.
add lemon parser gear
Diagnostics
Lemon parser fro the Bayesian network definition language
Call the parser from the main program.
Handle states and evidence properly
remove old main program
Add print diagnostics.

The parser is retuening incorrect values for the potential llabel.
print syntax error to stderr
Remove stray, illegal syntax characters
Add lemon dependency for gram.y
print diagnostics
Reflect latest gram.y change
Record the table length when copying the parsed table
Fix error copying over parent address.

Also added a lot of print statements.
Comment out print statements
Merge branch 'experimental/parser' into experimental/cuda-one-file

Read a network description, and states, from files, to configure the program.