lab 8, mostly done, dont have time to finish implementation of CUDA array