Parallel Algorithms implemented on CUDA