Test Cases + tester + working copies on CPU and GPU

All test cases pass when tried with 1, 2, and 1000 iterations. GPU is
slower as of now.