Basic CUDA implementation of the N-body problem