Parallel scan algorithm

Performance improvement for exclusive scan (Blelloch) algorithm using
shared memory