Working Rodinia BFS committed.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>