coding temp stage
intermediate : compiling version. not running
working checkpoint implementation. yet to test with two processes