Begin refactoring code

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
works
add python script
Record/replay works

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
fix python
Do some cleanup of chess.c

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Fix run.py

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Cleanup test.c

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Fix debugging output selection method

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Add -rdynamic to Makefile

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Trace debug info
Fix python script
Fix initial trace of location in program

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Use random generator
Improve factorial computation
Add exit inside schedule.txt
Print trace whenever a new permutation is chosen

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Merge branch 'felipec' into mvanga

Conflicts:
	preload/run.py

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Add tracing for thread exits

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>
Separate tracing and replay/record for clean output

Signed-off-by: Manohar Vanga <mvanga@mpi-sws.org>